package chartRoom;

import java.io.Serializable;

/**
 * 消息存储的载体 消息实体类
 * 
 * @author wangsong
 *
 */
public class Message implements Serializable {
	private String option;// 动作指令
	private String sendName;// 发送者账号
	private String reciceName;// 接受者账号
	private String content;// 消息内容
	private String kkk;
	private String rrr;

	@Override
	public String toString() {
		return "Message [option=" + option + ", sendName=" + sendName + ", reciceName=" + reciceName + ", content="
				+ content + "]";
	}

	public Message(String option, String sendName, String reciceName, String content) {
		super();
		this.option = option;
		this.sendName = sendName;
		this.reciceName = reciceName;
		this.content = content;
	}

	public Message() {
		super();
		// TODO Auto-generated constructor stub
	}

	public String getOption() {
		return option;
	}

	public void setOption(String option) {
		this.option = option;
	}

	public String getSendName() {
		return sendName;
	}

	public void setSendName(String sendName) {
		this.sendName = sendName;
	}

	public String getReciceName() {
		return reciceName;
	}

	public void setReciceName(String reciceName) {
		this.reciceName = reciceName;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}
